#include "stdafx.h"
#include "BattleServerSession.h"
#include "PacketHandler.h"
#include <PacketStruct.h>

BattleServerSession::BattleServerSession()
{
}

BattleServerSession::~BattleServerSession()
{
}

VOID BattleServerSession::Init()
{
	ServerSession::Init();
}

VOID BattleServerSession::Release()
{
	ServerSession::Release();
}

VOID BattleServerSession::Update()
{
	ServerSession::Update();
}

VOID BattleServerSession::OnConnect( BOOL bSuccess, DWORD dwNetworkIndex )
{
	ServerSession::OnConnect( bSuccess, dwNetworkIndex );
}

VOID BattleServerSession::OnDisconnect()
{
	ServerSession::OnDisconnect();
}

VOID BattleServerSession::OnRecv( BYTE *pMsg, WORD wSize )
{
	PacketHandler::Instance()->ParsePacket_DG( this, (MSG_BASE *)pMsg, wSize );
}